﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace WeChat.CMS.Attachments
{
    public interface IAttachmentAppService
    {
        Task<AttachmentDTO> AddAttachment(string fileName, string fileExt, string contentType,byte[] bytes);

        Task<FileResultDTO> GetAttachment(Guid attachmentId);
    }
}
